package com.pktechan.manage.service.impl;


import com.pktechan.manage.base.BaseMapper;
import com.pktechan.manage.base.BaseServiceImpl;
import com.pktechan.manage.dao.CustAddressMapper;
import com.pktechan.manage.entity.CustAddress;
import com.pktechan.manage.service.CustAddressService;
import com.pktechan.manage.vo.CustVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("custAddressService")
public class CustAddressServiceImpl extends BaseServiceImpl<CustAddress> implements CustAddressService {

    @Autowired
    private CustAddressMapper custAddressMapper;

    /**
     * 由业务类实现
     *
     * @return
     */
    @Override
    public BaseMapper<CustAddress> getBaseMapper() {
        return custAddressMapper;
    }

    @Override
    public List<CustAddress> getCustAddressList(CustVO custVO) {
        return custAddressMapper.getCustAddressList(custVO);
    }
}
